#pragma once

#include "IAddin.h"

template<typename T>
class Addin : public T
{
	typedef std::map<String,IObject*> AddinDictionary;

public:
	BEGIN_DEFINE_CLASS(CLASSID_NULL)
		DEFINE_INTERFACE_ENTRY(IAddin)
	END_DEFINE_CLASS()

	Addin(){}
	virtual ~Addin(){}

	virtual bool Load(){return true;}
	virtual void Unload(){}
};
